<?php

class IDVsContent extends Eloquent{
	protected $table = 'id_vs_content';

	public function ID(){
		return $this->belongsTo('ID', 'from_id');
	}

	public function content(){
		return $this->belongsTo('Content', 'content_id');
	}

	public function activityType(){
		return $this->belongsTo('ActivityType', 'activity_type_id');
	}

	public function coordinateOf(){
		return $this->belongsTo('Coordinate','coordinate_id');
	}
}